package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanHuadaoInfoDao;
import com.open.system.domain.LoanHuadaoInfoDO;
import com.open.system.service.LoanHuadaoInfoService;


@Service
public class LoanHuadaoInfoServiceImpl implements LoanHuadaoInfoService {
    @Autowired
    private LoanHuadaoInfoDao loanHuadaoInfoDao;

    @Override
    public LoanHuadaoInfoDO get(Long id) {
        return loanHuadaoInfoDao.get(id);
    }

    @Override
    public List<LoanHuadaoInfoDO> list(Map<String, Object> map) {
        return loanHuadaoInfoDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return loanHuadaoInfoDao.count(map);
    }

    @Override
    public int save(LoanHuadaoInfoDO loanHuadaoInfo) {
        return loanHuadaoInfoDao.save(loanHuadaoInfo);
    }

    @Override
    public int update(LoanHuadaoInfoDO loanHuadaoInfo) {
        return loanHuadaoInfoDao.update(loanHuadaoInfo);
    }

    @Override
    public int remove(Long id) {
        return loanHuadaoInfoDao.remove(id);
    }

    @Override
    public int batchRemove(Long[] ids) {
        return loanHuadaoInfoDao.batchRemove(ids);
    }

}
